Propositional Functions (Predicate Logic)
Tags: #◇Conceptual #◇Propositional Functions #◇Predicate Logic #◇CCDSTRU #◇M3
◇Key Definitions
Predicate Logic (Predicate Calculus): A more powerful type of logic that deals with predicates and quantifiers, allowing reasoning about object relationships. Predicates: Refers to the property that the subject of the statement can have (e.g., meaning " is greater than 5", where is the predicate). Propositional Function: Also known as an -ary predicate. A statement involving variables (e.g., ). It is not a proposition until its variables are given specific values or it is quantified. Quantification: Expresses the extent to which a predicate is true over a range of elements. Universe of Discourse (Domain): Specifies all possible values of the variables. The meaning of the statement changes when the domain changes. Note: An implicit assumption is usually made that the universe of discourse is not empty. Bound vs Free Variables: When a variable is quantified, it is bound. If not, it is free. A propositional function becomes a proposition when all its variables are bound. Counterexample: An element in the domain for which is false in a universal quantification statement.
◇Theoretical Framework
Types of Quantification
-
Universal Quantification ():
Read as: "For all ".
Meaning: is true for every element of in the domain.
Equivalent to . -
Existential Quantification ():
Read as: "There exists ".
Meaning: is true for at least one element of in the domain.
Equivalent to .
[!tip] Empty Domains
If the universe of discourse is empty:
- (vacuously true, since there is no element to make it false).
- (since there is no element to make it true).
Logical Equivalences with Quantifiers
The quantifiers and have higher precedence over the logical operators from propositional calculus.
Distributing : Distributing : Note: cannot simply be distributed as .
De Morgan's Laws for Quantifiers:
Nested Quantifiers
Two quantifiers are nested if one is within the scope of the other. The order of quantifiers is critical when mixing and . is generally not equivalent to .
Translation Guide (English to Logic)
- Identify the predicate.
- Identify the universe of discourse.
- If using universal quantification (), use implication (). The subject is the premise.
Example: All CS students studied. - If using existential quantification (), use conjunction (). The subject is "anded" with the rest.
Example: Some CS students studied. - If referring to a specific subject (e.g. "Sarah"), do not use quantifiers, just use the value as the parameter: .
◇References & Navigation
- Related Notes: ◇Propositional Functions